import QtQuick 1.0

Item {
    id:root
    width: 360
    height: 48

    //        enabled: myModel.state == 4 ? true : false
    property string path : pathId.text
    signal returnClicked()
    signal taskClicked()


    Rectangle {
        anchors.fill: parent
        color: "black"
        opacity: 0.6
    }



//    Text {
//        anchors.right: parent.right
//        anchors.rightMargin: 48
//        anchors.verticalCenter: parent.verticalCenter
//        color: "#F0A512"
//        font.family: "UbuntuBeta"
//        font.pixelSize: 14
//        opacity: 1
//        text:ftpModel.message
//        width: 210
//        elide: Text.ElideRight
//        horizontalAlignment: Text.AlignRight
//    }

    Button {
        id:backButton
        source: "../gfx/folder-back.png"
        width: 48
        height:48
        onClicked: root.returnClicked()
    }

    Text {
        id:pathId
        anchors.left: backButton.right
        anchors.verticalCenter: header.verticalCenter
        color: "lightgray"
        text:path
        font.pixelSize: 12
        width: root.width - 60
        elide: Text.ElideLeft


    }

//    Rectangle {
//        id:progressBar
//        anchors.top: parent.top
//        width: ftpModel.progress * parent.width
//        height:2
//        color: "#F0A512"

//    }

}
